import 'package:flutter/material.dart';

class NotFoundPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('页面不存在'),
      ),
      body: Align(
        child: Container(
          height: MediaQuery.of(context).size.height / 2,
          child: Column(
            children: <Widget>[
              Image.asset('assets/images/img_404.png'),
              Text(
                '页面不存在',
                style: TextStyle(
                  fontWeight: FontWeight.w300,
                  fontStyle: FontStyle.italic,
                ),
              )
            ],
          ),
        ),
      ),
    );
  }
}
